package com.imau.dao;

import com.imau.bean.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface BookDao {

    @Select("select * from tbl_book where  id = #{id}")
    Book queryBookById(@Param("id") int id);
}
